/*创建人：Totoro */

.chat-page{
    width: 990px;
    color: #606060;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    overflow: hidden;
    margin-left: 4px;
    box-shadow:0 0 9px 3px #999;
    position: relative;
}

.chat-wrap{
    width: 100%;
}

.chat-left{
    float: left;
    width: 25%;
    background-color: #FAF9F7;
}

.cl-header{
    background-color: #F8F8F8;
    overflow: hidden;
    padding: 10px;
    height: 70px;
    border-bottom: 1px solid #F5F5F5;;
}

.cl-search-box{
    border-radius: 8px;
    width: 220px;
    height: 35px;
    background-color: #ECEAEB;
    margin: 15px 0 0 3px;
}

.cl-search{
    float: left;
    height: 100%;
    display: inline-block;
    margin-right: 10px;
}

.cl-search-icon{
    padding-top: 2px;
}

.cls-icon{
    font-size: 22px;
    margin-left: 4px;
}

.cl-search-input{
    font-family: "微软雅黑 Light";
    font-size: 13px;
    outline: none;
    border: none;
    height: 100%;
    background-color: #ECEAEB;
}

.cl-content{
    background-color: #FAF9F7;
    height: 638px;
    overflow-y:scroll;
}

.cl-seller-items{
    overflow: hidden;
}

.cls-item{
    width: 99%;
    height: 80px;
    border: 1px solid #F7F3F2;
}

.selected{
    background-color: #DEDCDD;
}

.cl-seller-info{
    float: left;
    margin-left: 10px;
    margin-top: 12px;
}

.cl-seller-head{
    position: relative;
    margin-left: 20px;
    width: 50px;
    height: 50px;
    background-color: #B5B5B5;
    text-align: center;
    margin-top: 14px;
}

.cl-seller-head>img{
    width: 50px;
    height: 50px;
    position: relative;
    top: -5px;
    left: -6px;
}

.head-img{
    margin: 5px
}

.cl-seller-message p{
    font-size: 14px;
}

.cl-seller-name{
    line-height: 25px;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 148px;
}

.cl-seller-synopsis{
    line-height: 30px;
    color: #A6A4A5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 148px;
    display: inline-block;
}

/*中间聊天 start-------------*/

.chat-center{
    float: left;
    width: 53%;
    background-color: #FFFFFF;
}

.cc-header{
    width: 100%;
    overflow: hidden;
    padding: 10px;
    height: 70px;
    border-bottom: 1px solid #F5F5F5;;
}

.cc-seller-info{
    float: left;
    margin-left: 20px;
    margin-top: 10px;
}

.ccs-nsm{
    display: inline-block;
    margin: 0 5px 3px 0;
}

.cc-seller-message span{
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    width: 200px;
    display: inline-block
}

.cc-seller-name span{
    color: black;
    font-size: 15px;
}

.cc-seller-status span{
    color: #C0C0C0;
}

.cc-seller-message span{
    color: #C0C0C0;
}


.cc-content{
    width: 100%;
    height: 465px;
    overflow-y: auto;
    background-color: #fff;
}

.cc-content img{
    max-height: 60px;
    max-width: 230px;
}

.clear-float:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0;
}

.author-name {
    text-align: center;
    margin: 15px 0 5px 0;
    color: #C6C0C0;
}

.author-name small{
    font-size: 13px;
    letter-spacing: 1px;
}

.chat-that-left{
    margin-left: 25px;
    margin-top: 20px;
}

.chat-that-right{
    /*float: right;*/
    text-align: right;
    margin-top: 20px;
    margin-right: 25px;
}

.chat-avatars{
    background-color: #59B9FF;
    display: inline-block;
    width: 40px;
    height: 40px;
    vertical-align: top;
    overflow: hidden;
    border-radius: 2px;
}

.chat-that-left .chat-avatars{
    margin-right: 10px;
}

.chat-avatars img{
    width: 40px;
    height: 40px;
}

.chat-message{
    margin-left: 7px;
    max-width: 352px;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;
    word-wrap: break-word;
    display: inline-block;
    position: relative;
    background: #E8E8E8;
    min-height: 6px;
    font-size: 15px;
    font-weight: bold;
}

.chat-that-left .chat-message:before{
    position: absolute;
    content: "";
    top: 8px;
    left: -6px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #E8E8E8;
}

.chat-that-right .chat-avatars{
    margin-left: 10px;
}

.chat-that-right .chat-message {
    background: #8c85e6;
    color: #fff;
    text-align: left;
    min-height: 6px;
}

.chat-that-right .chat-message:before{
    position: absolute;
    content: "";
    top: 8px;
    right: -6px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #8c85e6;
}

.cc-input{
    border-top: 1px solid #F5F5F5;
    height: 157px;
    margin-top: 15px;
}

.function-select{
    height: 32px;
}

.function-select ul li{
    float: left;
    margin-left: 12px;
}

.function-select .iconfont{
    color: #B3B3B3;
    font-size: 20px;
}

.cc-input-text{
    margin-left: 5px;
}

.cc-input-text img{
    max-height: 50px;
    max-width: 200px;
}

.cc-input-text div{
    font-size: 15px;
    border: none;
    width: 100%;
    height: 70px;
    resize: none;
    outline: none;
}

.function-button{
    margin-top: 10px;
    height: 46px;
    position: relative;
}

.function-button input{
    float: right;
    margin-right: 14px;
}

.input-empty{
    box-shadow: 0 0 6px #999;
    height: 26px;
    position: absolute;
    width: 220px;
    border: 1px solid #0C0C0C;
    border-radius: 3px;
    top: -35px;
    left: 275px;
    background-color: #fff;
    color: #0C0C0C;
}

.input-empty *{
    line-height: 26px;
}

.input-empty i{
    margin-left: 6px;
}

.input-empty:before,.input-empty:after {
    position: absolute;
    content: "";
    top: 27px;
    right: 30px;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 5px solid #53D2FA;
}

#close{
    width: 70px;
    height: 28px;
    border: 1px solid #CDCFD0;
    border-radius: 2px;
    background-color: #fff;
    text-align: center;
    color: black;
}

#send{
    width: 70px;
    height: 28px;
    border: 1px solid #12B7F5;
    border-radius: 2px;
    background-color: #12B7F5;
    text-align: center;
    color: #fff;
}

#close:hover,#send:hover{
    cursor: pointer;
    opacity: 0.8;
}
/*中间聊天 end-----------------*/

/*右边店铺信息 start-----------*/
.chat-right{
    float: left;
    width: 22%;
    background-color: #F9F9F9;
    margin-top: -20px;
}

.cr-header{
    width: 100%;
    height: 150px;
    border-bottom: 1px solid #F1F5F6;
}

.cr-header *{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cr-header .cr-shop-head{
    margin-top: 20px;
}

.cr-shop-head{
    width: 90px;
    height: 90px;
    background-color: #fff;
    text-align: center;
    border: 1px solid #F4F4F4;
}

.cr-shop-head img{
    width: 90px;
    height: 90px;
    position: relative;
    top: -20px;
}

.cr-shop-head img{
    margin-top:20px;
}

.cr-enter-shop input{
    border: 1px solid #90BDE7;
    border-radius: 3px;
    color: #90BDE7;
    width: 80px;
    height: 30px;
    background-color: #fff;
}

.cr-content{
    height: 370px;
}

.cr-shop-preferential{
    width: 100%;
    height: 290px;
}

.crs-title{
    height: 35px;
    line-height: 35px;
}

.crs-title p{
    float: left;
    margin-left: 5px;
}

.crs-title a{
    float: right;
    margin-right: 5px;
}

.crs-content{
    width: 100%;
    height: 175px;
    padding:5px;
}

.crs-content ul li{
    margin-bottom: 10px;
}

.coupon{
    margin-left: 5px;
    width: 90%;
    height: 55px;
    border: 1px solid #D7D4D3;
    border-radius: 3px;
    background-color: #fff;
}

.coupon-info{
    float: left;
    padding: 5px;
}

.coupon-info p{
    color: #E6919B;
    font-size: 17px;
    font-weight: bold;
}

.receive-coupon{
    float: left;
    margin-left: 17px;
}

.receive-coupon a{
    display: inline-block;
    width: 30px;
    height: 100%;
    background-color: #FBA99D;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.cr-tail{
    height: 190px;
}

.recommend-box ul li{
    float: left;
    margin: 15px 10px 0 0;
}

.recommend-shop{
    position: relative;
}

.recommend-shop-img{
    width: 95px;
    height: 95px;
}

.recommend-shop-img img{
    width: 95px;
    height: 95px;
}

.recommend-tips {
    position: absolute;
    background: rgba(0,0,0,0.2);
    color: #fff;
    width: 95px;
    text-align: center;
    top: 76px;
}



/*右边店铺信息 end-------------*/

/*新消息次数提示*/

.bc-badge{
    background-color: #f56c6c;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #fff;
}

.bc-badge-content.is-fixed {
    position: absolute;
    top: 0;
    right: 17px;
    transform: translateY(-50%) translateX(100%);
}
